package com.fintech.third.service;

import java.util.Properties;

import org.springframework.stereotype.Service;

import com.fintech.common.service.BaseServiceImpl;
import com.fintech.third.utils.ThirdSystemUtil;

@Service("thirdPropertiesUtilService")
public class ThirdPropertiesUtilServiceImpl extends BaseServiceImpl implements ThirdPropertiesUtilService {
	
	@Override
	public String getThirdProperties(String attribute) {
		Properties properties = ThirdSystemUtil.readProperties("deploy.properties");
		return properties.getProperty(attribute).toString().trim();
	}

}
